<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>核销券</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
  <div class="layui-card">
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">券ID</label>
            <div class="layui-form-mid layui-word-aux">$!{id}</div>
          </div>
        </div>
        <div class="layui-col-sm5">
          <div class="layui-form-item">
            <label class="layui-form-label">券状态</label>
            <div class="layui-form-mid layui-word-aux">
              #if($state == 1)
              <span class="layui-badge layui-bg-green">$!{stateName}</span>
              #elseif($state == 2)
              <span class="layui-badge layui-bg-blue">$!{stateName}</span>
              #else
              $!{stateName}
              #end
            </div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">券类型</label>
            <div class="layui-form-mid layui-word-aux">$!{couponTypeName}</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">所属会员</label>
            <div class="layui-form-mid layui-word-aux">$!{memberName}（$!{memberId}）</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm8">
          <div class="layui-form-item">
            <label class="layui-form-label">优惠信息</label>
            <div class="layui-form-mid layui-word-aux">$!{title}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">使用范围</label>
            <div class="layui-form-mid layui-word-aux">$!{useRangeName}</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">限制业务类型</label>
            #if($useLimit != 1)
            <div class="layui-form-mid layui-word-aux">$!{businessTypeName}</div>
            #else
            <div class="layui-form-mid layui-word-aux">不限制</div>
            #end
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">优惠券活动</label>
            <div class="layui-form-mid layui-word-aux">$!{activityId}</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">到期时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($expirationDate,'yyyy-MM-dd HH:mm')}</div>
          </div>
        </div>
      </div>
      #if($useDate)
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">使用订单</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{useTradeNo}</div>
            </div>
          </div>
        </div>
        #if($placeId)
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">使用网点</label>
            <div class="layui-form-mid layui-word-aux">$!{placeName}（$!{placeId}）</div>
          </div>
        </div>
        #end
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">使用时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($useDate,'yyyy-MM-dd HH:mm')}</div>
          </div>
        </div>
      </div>
      #end
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">最后修改</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($updateDate,'yyyy-MM-dd HH:mm')}</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm')}</div>
          </div>
        </div>
      </div>
    </div><!-- /.layui-card-body -->
  </div><!-- /.layui-card -->
</div>
#parse('/footFiles.html')
<script>
  layui.config({
    base: '$!{webRoot}/layuiadmin/'
    ,webRoot:'$!{webRoot}'
    ,resDomain:'$!{resDomain}'
  }).extend({
    index: 'lib/index'
  }).use(['index', 'form'])
</script>
</body>
</html>